﻿<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns= "http://schemas.microsoft.com/
VisualStudio/2008/CodeSnippet">
<CodeSnippet Format= "1.0.0″">
  <Header>
    <Title>Dracu'Snippet</Title>
    <Shortcut>dtry</Shortcut>
    <Description>Snipper pour générer mes stub facilement</Description>
    <Author>Dracu</Author>
    <SnippetTypes>
      <SnippetType>Expansion</SnippetType>
    </SnippetTypes>
  </Header>
  <Snippet>
    <Declarations>
	 <Literal  Editable="false">
          <ID>Class</ID>
          <ToolTip>Class</ToolTip>
          <Function>ClassName()</Function>
          <Type>string</Type>
	</Literal>
    </Declarations>
    <Code Language="csharp">
      <![CDATA[
		 var Ok = false;
		 try
		 {
			Logger.Log.TraceAction("$Class$." + System.Reflection.MethodBase.GetCurrentMethod.Name, "");
		 $selected$ $end$
		 }
		 catch(Exception ex)
		 {
			Logger.Log.TraceError("$Class$." + System.Reflection.MethodBase.GetCurrentMethod.Name, ex);
			Ok = false;
		 }
		 finally
		 {
		 }
		 return Ok;]]>
    </Code>
  </Snippet>
</CodeSnippet>
</CodeSnippets>